<template>
  <div class="mr-root">
    <div class="one" @click="back">
      <i class="fa fa-chevron-left"></i>
      <slot></slot>
    </div>
  </div>
</template>
<script>
  export default {
    methods: {
      back() {
        this.$router.go(-1)
      }
    }
  }

</script>
<style scoped>
  .one {
    width: 100%;
    height: auto;
    background: black;
    position: fixed;
    top: 0;
    color: white;
    font-size: 0.6rem;
    z-index: 100;
  }
</style>